package com.xja.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.xja.mapper.ArticleCollInfoMapper;
import com.xja.entity.ArticleCollInfo;
import com.xja.service.ArticleCollInfoService;
@Service
public class ArticleCollInfoServiceImpl implements ArticleCollInfoService{

    @Resource
    private ArticleCollInfoMapper articleCollInfoMapper;

    @Override
    public int deleteByPrimaryKey(Integer userid,Integer atricleid) {
        return articleCollInfoMapper.deleteByPrimaryKey(userid,atricleid);
    }

    @Override
    public int insert(ArticleCollInfo record) {
        return articleCollInfoMapper.insert(record);
    }

    @Override
    public int insertSelective(ArticleCollInfo record) {
        return articleCollInfoMapper.insertSelective(record);
    }

    @Override
    public ArticleCollInfo selectByPrimaryKey(Integer userid,Integer atricleid) {
        return articleCollInfoMapper.selectByPrimaryKey(userid,atricleid);
    }

    @Override
    public int updateByPrimaryKeySelective(ArticleCollInfo record) {
        return articleCollInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ArticleCollInfo record) {
        return articleCollInfoMapper.updateByPrimaryKey(record);
    }

}
